<template>
  <view class="shop">
    <view class="left">
      <span class="choosed" @click="$emit('allChoosed')" v-show="!tag"></span>
      <span class="choosed" @click="$emit('unChoosed')" v-show="tag"></span>
    </view>
    <image :src="shop.shopLogo" alt="" />
    <span>{{ shop.shopName }}</span>
  </view>
</template>

<script>
export default {
  name: "CartShopInfo",
  components: {},
  props: {
    shop: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  data() {
    return {
      tag: this.$store,
    };
  },
};
</script>
<style lang="scss" scoped>
	
</style>